package src.bean;


public class JobBean {
    private String mode = "CONSULTATION";

    public JobBean() {
        super();
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getMode() {
        return mode;
    }

    /*
     * Methods
     */
    public void updateJob() {
        this.mode = "EDITION";
    }

    public void cancelCreateOrEdit() {
        this.mode = "CONSULTATION";
    }


    public void createJob() {
        this.mode = "CREATION";
    }

}
